nextcloud-desktop.git
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 10 Apr 2025 03:03:42 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8131 from nextcloud/backport/8095/stable-3.16
Jyrki Gadinger [Wed, 9 Apr 2025 07:26:55 +0000 (09:26 +0200)]
Merge pull request #8131 from nextcloud/backport/8095/stable-3.16

[stable-3.16] fix: try to correct mtime on upsyncs

10 months agofix FileSystem::setModTime on x64 Windows with times > 2038
Jyrki Gadinger [Tue, 8 Apr 2025 11:09:18 +0000 (13:09 +0200)]
fix FileSystem::setModTime on x64 Windows with times > 2038

also removes some unused Utility methods

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agofix: try to correct mtime on upsyncs
Jyrki Gadinger [Mon, 31 Mar 2025 09:48:22 +0000 (11:48 +0200)]
fix: try to correct mtime on upsyncs

Files with a modification time of less than 0 do usually not make sense
(and afaik the server doesn't accept them either).
--> attempt to update the modification time to _Time.now_ while
propagating

side note: I ran into this because KArchive/Ark(?) didn't consider the
extra time attributes on entries for a certain zip file, so it instead
used the standard time value of each zip entry which was set to <= 1980
for files and < 1970 for directories...

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 9 Apr 2025 03:04:50 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8130 from nextcloud/backport/8127/stable-3.16
Matthieu Gallien [Tue, 8 Apr 2025 21:24:25 +0000 (23:24 +0200)]
Merge pull request #8130 from nextcloud/backport/8127/stable-3.16

[stable-3.16] stop using QFile api to delete a single local file

10 months agostop using QFile api to delete a single local file
Matthieu Gallien [Mon, 7 Apr 2025 13:37:41 +0000 (15:37 +0200)]
stop using QFile api to delete a single local file

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoMerge pull request #8129 from nextcloud/backport/8128/stable-3.16
Matthieu Gallien [Tue, 8 Apr 2025 21:04:39 +0000 (23:04 +0200)]
Merge pull request #8129 from nextcloud/backport/8128/stable-3.16

[stable-3.16] remove bogus check that tried to check for existing case clash conflict

10 months agoremove bogus check that tried to check for existing case clash conflict
Matthieu Gallien [Tue, 8 Apr 2025 15:15:14 +0000 (17:15 +0200)]
remove bogus check that tried to check for existing case clash conflict

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 8 Apr 2025 03:04:39 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
10 months agoMerge pull request #8126 from nextcloud/backport/8121/stable-3.16
Matthieu Gallien [Mon, 7 Apr 2025 14:21:36 +0000 (16:21 +0200)]
Merge pull request #8126 from nextcloud/backport/8121/stable-3.16

[stable-3.16] fix: move array to correct value in dict

10 months agofix: move array to correct value in dict
Jyrki Gadinger [Mon, 7 Apr 2025 07:15:08 +0000 (09:15 +0200)]
fix: move array to correct value in dict

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
10 months agoMerge pull request #8125 from nextcloud/backport/8122/stable-3.16
Matthieu Gallien [Mon, 7 Apr 2025 13:34:07 +0000 (15:34 +0200)]
Merge pull request #8125 from nextcloud/backport/8122/stable-3.16

[stable-3.16] fix crash within FolderStatusModelTest

10 months agofix crash within FolderStatusModelTest
Matthieu Gallien [Mon, 31 Mar 2025 13:32:41 +0000 (15:32 +0200)]
fix crash within FolderStatusModelTest

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoMerge pull request #8123 from nextcloud/backport/8118/stable-3.16
Matthieu Gallien [Mon, 7 Apr 2025 12:06:43 +0000 (14:06 +0200)]
Merge pull request #8123 from nextcloud/backport/8118/stable-3.16

[stable-3.16] remove costly availability check that is never used

10 months agoremove costly availability check that is never used
Matthieu Gallien [Fri, 4 Apr 2025 14:00:23 +0000 (16:00 +0200)]
remove costly availability check that is never used

we never read the value computed

computing it means a recursive visit of the whole folder hierarchy which
could be taking a long time

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoMerge pull request #8124 from nextcloud/backport/8120/stable-3.16
Matthieu Gallien [Mon, 7 Apr 2025 11:53:15 +0000 (13:53 +0200)]
Merge pull request #8124 from nextcloud/backport/8120/stable-3.16

[stable-3.16] Bugfix/delete errors

10 months agobetter error message for user when deleting local items
Matthieu Gallien [Fri, 4 Apr 2025 14:37:47 +0000 (16:37 +0200)]
better error message for user when deleting local items

we might be displaying too technical errors that the user will have no
way to understand

for example on macOS, we might be getting:
Unknown error: 513

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agowhen deleting a folder starts by making it read-write permissions
Matthieu Gallien [Fri, 4 Apr 2025 14:37:11 +0000 (16:37 +0200)]
when deleting a folder starts by making it read-write permissions

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agowe must not use QFile::remove that may fail on windows read-only files
Matthieu Gallien [Fri, 4 Apr 2025 14:33:56 +0000 (16:33 +0200)]
we must not use QFile::remove that may fail on windows read-only files

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoif we are going to need modified permissions: always change
Matthieu Gallien [Fri, 4 Apr 2025 09:09:38 +0000 (11:09 +0200)]
if we are going to need modified permissions: always change

we might need to change the permissions, so do it instead of trying to
be smart

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agodo not change permissions of invalid items on discovery
Matthieu Gallien [Fri, 4 Apr 2025 09:07:28 +0000 (11:07 +0200)]
do not change permissions of invalid items on discovery

if we are going to delete those items, we will make them have the proper
permissions when we need

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoalways make the file we try to delete be read-write as required
Matthieu Gallien [Fri, 4 Apr 2025 09:06:59 +0000 (11:06 +0200)]
always make the file we try to delete be read-write as required

on windows you must only delete read-write files

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoQt 6.8 requires macSO 12 or higher: no need to compile against older
Matthieu Gallien [Fri, 4 Apr 2025 09:05:41 +0000 (11:05 +0200)]
Qt 6.8 requires macSO 12 or higher: no need to compile against older

clean up preprocessor directives for older macOS releases that are not
supported by macOS minimum required release from the Qt 6.8 release we
require

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
10 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 7 Apr 2025 03:04:19 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 6 Apr 2025 03:14:26 +0000 (03:14 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 5 Apr 2025 03:04:13 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoMerge pull request #8117 from nextcloud/backport/8107/stable-3.16
Matthieu Gallien [Fri, 4 Apr 2025 15:40:03 +0000 (17:40 +0200)]
Merge pull request #8117 from nextcloud/backport/8107/stable-3.16

[stable-3.16] fix(mac-crafter): Work around broken consecutive shell integration builds

11 months agofix(mac-crafter): Work around broken consecutive shell integration builds
Claudio Cambra [Thu, 3 Apr 2025 07:39:41 +0000 (15:39 +0800)]
fix(mac-crafter): Work around broken consecutive shell integration builds

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agoMerge pull request #8116 from nextcloud/backport/8109/stable-3.16
Matthieu Gallien [Fri, 4 Apr 2025 13:31:42 +0000 (15:31 +0200)]
Merge pull request #8116 from nextcloud/backport/8109/stable-3.16

[stable-3.16] fix(gui): remove ignored file notifications from Activity list

11 months agofix(gui): remove ignored file notifications from Activity list
Jyrki Gadinger [Thu, 3 Apr 2025 09:52:17 +0000 (11:52 +0200)]
fix(gui): remove ignored file notifications from Activity list

These are informative notifications without any need/possibility to act
on immediately -- if a file is not synced it will be visible from the
shell integration anyway.

An eventual follow-up to this change would be to have a dialogue with an
overview of all files that were ignored (including the entry in the
ignore list that caused a specific file to be ignored).

Closes #6712

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
11 months agoMerge pull request #8115 from nextcloud/backport/8114/stable-3.16
Matthieu Gallien [Fri, 4 Apr 2025 12:02:22 +0000 (14:02 +0200)]
Merge pull request #8115 from nextcloud/backport/8114/stable-3.16

[stable-3.16] fix(mac): bump deployment target to 12.0

11 months agofix(mac): bump deployment target to 12.0
Jyrki Gadinger [Fri, 4 Apr 2025 09:06:32 +0000 (11:06 +0200)]
fix(mac): bump deployment target to 12.0

Qt 6.8 now requires macOS 12.0 as per https://doc.qt.io/qt-6.8/macos.html

for comparison, Qt 6.7 supported 11.0 and newer: https://doc.qt.io/qt-6.7/macos.html

also update the Packages project to refuse to install on anything older
than Monterey (12.0)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 4 Apr 2025 03:03:36 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 3 Apr 2025 03:02:53 +0000 (03:02 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 2 Apr 2025 03:03:16 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 31 Mar 2025 03:06:33 +0000 (03:06 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 30 Mar 2025 03:03:35 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 29 Mar 2025 03:04:25 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 28 Mar 2025 03:04:28 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoMerge pull request #8089 from nextcloud/backport/8080/stable-3.16
Jyrki Gadinger [Thu, 27 Mar 2025 14:29:43 +0000 (15:29 +0100)]
Merge pull request #8089 from nextcloud/backport/8080/stable-3.16

[stable-3.16] gui/macOS: Fix memory issues in Objective-C++ code for FileProvider support

11 months agogui/macOS: Properly retain/release NSFileProviderManager(s)
Claudio Cambra [Thu, 27 Mar 2025 12:07:37 +0000 (13:07 +0100)]
gui/macOS: Properly retain/release NSFileProviderManager(s)

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Avoid need to retain/release things in file provider edit locally
Claudio Cambra [Thu, 27 Mar 2025 10:45:13 +0000 (11:45 +0100)]
gui/macOS: Avoid need to retain/release things in file provider edit locally

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Avoid crash from bad manager release
Claudio Cambra [Wed, 26 Mar 2025 16:53:42 +0000 (17:53 +0100)]
gui/macOS: Avoid crash from bad manager release

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Avoid retain call on extensionNcAccount by allocing new string
Claudio Cambra [Wed, 26 Mar 2025 12:44:28 +0000 (13:44 +0100)]
gui/macOS: Avoid retain call on extensionNcAccount by allocing new string

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Improve overall memory management in XPCUtils::getDomainManagers
Claudio Cambra [Wed, 26 Mar 2025 12:44:03 +0000 (13:44 +0100)]
gui/macOS: Improve overall memory management in XPCUtils::getDomainManagers

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Do not leak debug log string after use
Claudio Cambra [Wed, 26 Mar 2025 12:35:41 +0000 (13:35 +0100)]
gui/macOS: Do not leak debug log string after use

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Use explicit type in connections array arg
Claudio Cambra [Wed, 26 Mar 2025 12:34:59 +0000 (13:34 +0100)]
gui/macOS: Use explicit type in connections array arg

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Correctly release objects received via FileProviderUtils functions
Claudio Cambra [Wed, 26 Mar 2025 12:31:00 +0000 (13:31 +0100)]
gui/macOS: Correctly release objects received via FileProviderUtils functions

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Properly wait for eviction result in materialised items model
Claudio Cambra [Wed, 26 Mar 2025 12:28:37 +0000 (13:28 +0100)]
gui/macOS: Properly wait for eviction result in materialised items model

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Do not leak local url and error objects in edit locally job
Claudio Cambra [Wed, 26 Mar 2025 12:26:38 +0000 (13:26 +0100)]
gui/macOS: Do not leak local url and error objects in edit locally job

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Correctly retain/release manager and domain in sync status object
Claudio Cambra [Wed, 26 Mar 2025 12:25:34 +0000 (13:25 +0100)]
gui/macOS: Correctly retain/release manager and domain in sync status object

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Constify some Obj-C pointers
Claudio Cambra [Wed, 26 Mar 2025 12:24:47 +0000 (13:24 +0100)]
gui/macOS: Constify some Obj-C pointers

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Avoid unnecessary retain on alloced objects
Claudio Cambra [Wed, 26 Mar 2025 12:24:05 +0000 (13:24 +0100)]
gui/macOS: Avoid unnecessary retain on alloced objects

Fixes leaks

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Avoid leaking objc objects added to arrays and dicts
Claudio Cambra [Wed, 26 Mar 2025 12:21:30 +0000 (13:21 +0100)]
gui/macOS: Avoid leaking objc objects added to arrays and dicts

The array/dict will retain them

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 27 Mar 2025 03:04:40 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoMerge pull request #8085 from nextcloud/backport/8081/stable-3.16
Jyrki Gadinger [Wed, 26 Mar 2025 19:25:05 +0000 (20:25 +0100)]
Merge pull request #8085 from nextcloud/backport/8081/stable-3.16

[stable-3.16] set `CFBundleDevelopmentRegion` to `"en"` and set `CFBundleAllowMixedLocalizations`

11 months agoset CFBundleDevelopmentRegion to "en" and set CFBundleAllowMixedLocalizations
Jyrki Gadinger [Wed, 26 Mar 2025 09:24:16 +0000 (10:24 +0100)]
set CFBundleDevelopmentRegion to "en" and set CFBundleAllowMixedLocalizations

according to [1] the value should be a ISO 639-1 code, so let's correct
it

`CFBundleAllowMixedLocalizations` is the most interesting one: with this
being set the reported QLocale will no longer be English as well

(this also bumps the version info to 2025 :D)

[1]: https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundledevelopmentregion

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
11 months agoMerge pull request #8082 from nextcloud/backport/8077/stable-3.16
Jyrki Gadinger [Wed, 26 Mar 2025 15:35:32 +0000 (16:35 +0100)]
Merge pull request #8082 from nextcloud/backport/8077/stable-3.16

[stable-3.16] gui/tray: change the status icon background colour again

11 months agogui/tray: change the status icon background colour again
Jyrki Gadinger [Wed, 26 Mar 2025 10:00:41 +0000 (11:00 +0100)]
gui/tray: change the status icon background colour again

As discussed, it's supposed to be the same colour as the header
background indeed...

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
11 months agoMerge pull request #8079 from nextcloud/backport/8076/stable-3.16
Claudio Cambra [Wed, 26 Mar 2025 12:53:26 +0000 (13:53 +0100)]
Merge pull request #8079 from nextcloud/backport/8076/stable-3.16

[stable-3.16] gui/macOS: Fix broken file provider domain progress reporting in settings window

11 months agogui/macOS: Correctly release download/upload progress observers
Claudio Cambra [Wed, 26 Mar 2025 09:36:14 +0000 (10:36 +0100)]
gui/macOS: Correctly release download/upload progress observers

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Ensure file provider domain progress instances are correctly retained
Claudio Cambra [Wed, 26 Mar 2025 09:25:58 +0000 (10:25 +0100)]
gui/macOS: Ensure file provider domain progress instances are correctly retained

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 26 Mar 2025 03:03:21 +0000 (03:03 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoMerge pull request #8074 from nextcloud/backport/8053/stable-3.16
Claudio Cambra [Tue, 25 Mar 2025 11:13:19 +0000 (12:13 +0100)]
Merge pull request #8074 from nextcloud/backport/8053/stable-3.16

[stable-3.16] gui/macOS: Do not assume accountState will always be valid in socket controller

11 months agogui/macOS: Do not assume accountState will always be valid
Claudio Cambra [Wed, 19 Mar 2025 17:57:10 +0000 (18:57 +0100)]
gui/macOS: Do not assume accountState will always be valid

When removing an account this can change

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agogui/macOS: Constify methods in file provider socket controller
Claudio Cambra [Wed, 19 Mar 2025 17:53:56 +0000 (18:53 +0100)]
gui/macOS: Constify methods in file provider socket controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 25 Mar 2025 03:05:25 +0000 (03:05 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoMerge pull request #8069 from nextcloud/backport/8067/stable-3.16
Matthieu Gallien [Mon, 24 Mar 2025 15:16:32 +0000 (16:16 +0100)]
Merge pull request #8069 from nextcloud/backport/8067/stable-3.16

[stable-3.16] use our own craft cache on windows

11 months agouse our own craft cache on windows
Matthieu Gallien [Mon, 24 Mar 2025 09:20:09 +0000 (10:20 +0100)]
use our own craft cache on windows

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
11 months agoMerge pull request #8068 from nextcloud/backport/8066/stable-3.16
Matthieu Gallien [Mon, 24 Mar 2025 13:40:22 +0000 (14:40 +0100)]
Merge pull request #8068 from nextcloud/backport/8066/stable-3.16

[stable-3.16] fix Windows build

11 months agofix Windows build
Jyrki Gadinger [Mon, 24 Mar 2025 08:50:21 +0000 (09:50 +0100)]
fix Windows build

`cl` didn't quite like it:

```
error C2445: result type of conditional expression is ambiguous: types 'QByteArray' and 'const char [1]' can be converted to multiple common types
```

just changing the `auto` to `QByteArray` results in the same compile error

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 24 Mar 2025 03:02:49 +0000 (03:02 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 22 Mar 2025 03:02:00 +0000 (03:02 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 21 Mar 2025 03:27:03 +0000 (03:27 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoMerge pull request #8057 from nextcloud/backport/8052/stable-3.16
Matthieu Gallien [Thu, 20 Mar 2025 13:59:28 +0000 (14:59 +0100)]
Merge pull request #8057 from nextcloud/backport/8052/stable-3.16

[stable-3.16] use standard way to find the checkum type and really send it to server

11 months agouse standard way to find the checkum type and really send it to server
Matthieu Gallien [Wed, 19 Mar 2025 14:13:56 +0000 (15:13 +0100)]
use standard way to find the checkum type and really send it to server

will fix missing checksum for bulk upload

will ensure consistent behavior between bulk upload, plain old upload
and chunked upload

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
11 months agoMerge pull request #8055 from nextcloud/backport/8041/stable-3.16
Matthieu Gallien [Thu, 20 Mar 2025 08:43:18 +0000 (09:43 +0100)]
Merge pull request #8055 from nextcloud/backport/8041/stable-3.16

[stable-3.16] Bugfix/input pin title too wide

11 months agouse a better and shorter title for input dialog for PIN code
Matthieu Gallien [Tue, 18 Mar 2025 10:46:36 +0000 (11:46 +0100)]
use a better and shorter title for input dialog for PIN code

we have to make sure the title is short and easy to understand

if it is too long, it will be truncated giving a bad experience for the
user

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 20 Mar 2025 03:06:46 +0000 (03:06 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoMerge pull request #8051 from nextcloud/backport/8050/stable-3.16
Matthieu Gallien [Wed, 19 Mar 2025 13:11:58 +0000 (14:11 +0100)]
Merge pull request #8051 from nextcloud/backport/8050/stable-3.16

[stable-3.16] Bugfix/highlight too bright appimage

11 months agotry to force the highlight to not be too bright
Matthieu Gallien [Wed, 19 Mar 2025 12:31:00 +0000 (13:31 +0100)]
try to force the highlight to not be too bright

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
11 months agoMerge pull request #8049 from nextcloud/backport/8045/stable-3.16
Matthieu Gallien [Wed, 19 Mar 2025 13:10:39 +0000 (14:10 +0100)]
Merge pull request #8049 from nextcloud/backport/8045/stable-3.16

[stable-3.16] explicitly set colours for header items

11 months agoalign status icon display with e.g. Talk more
Jyrki Gadinger [Wed, 19 Mar 2025 10:25:09 +0000 (11:25 +0100)]
align status icon display with e.g. Talk more

- status icons have now a white background/border
- "Invisible"/"Offline" icons are now hidden
- UserModel.status property is now available in QML too when needed

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
11 months agouse colour from `Style` instead of palette for icons
Jyrki Gadinger [Wed, 19 Mar 2025 10:24:39 +0000 (11:24 +0100)]
use colour from `Style` instead of palette for icons

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
11 months agoexplicitly set colours for header items
Jyrki Gadinger [Wed, 19 Mar 2025 09:31:47 +0000 (10:31 +0100)]
explicitly set colours for header items

the _Universal_ theme notably sets [`icon.color` on `Button`s][0] and
also the [`color` on `Label`s][1], ignoring what's set through the
`palette` property ...

[0]: https://github.com/qt/qtdeclarative/blob/215619d71b69be02348e12dc2dfea087c3ec2abb/src/quickcontrols/universal/Button.qml#L23
[1]: https://github.com/qt/qtdeclarative/blob/215619d71b69be02348e12dc2dfea087c3ec2abb/src/quickcontrols/universal/Label.qml#L12

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
11 months agooverride French translations to fix a display issue
Matthieu Gallien [Wed, 19 Mar 2025 11:44:31 +0000 (12:44 +0100)]
override French translations to fix a display issue

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 19 Mar 2025 03:05:13 +0000 (03:05 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
11 months agoprepare for release 3.16.2
Matthieu Gallien [Tue, 18 Mar 2025 11:58:03 +0000 (12:58 +0100)]
prepare for release 3.16.2

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
11 months agoMerge pull request #8042 from nextcloud/backport/8041/stable-3.16
Matthieu Gallien [Tue, 18 Mar 2025 11:34:39 +0000 (12:34 +0100)]
Merge pull request #8042 from nextcloud/backport/8041/stable-3.16

[stable-3.16] Bugfix/input pin title too wide

11 months agoFrench title for input dialog for PIN is too wide
Matthieu Gallien [Tue, 18 Mar 2025 10:43:25 +0000 (11:43 +0100)]
French title for input dialog for PIN is too wide

the whole title is not readable

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
11 months agoMerge pull request #8037 from nextcloud/backport/8033/stable-3.16
Matthieu Gallien [Tue, 18 Mar 2025 08:08:33 +0000 (09:08 +0100)]
Merge pull request #8037 from nextcloud/backport/8033/stable-3.16

[stable-3.16] gui: fix dark mode change on Windows 10 with universal style

11 months agogui: fix dark mode change on Windows 10 with universal style
Jyrki Gadinger [Mon, 17 Mar 2025 14:35:49 +0000 (15:35 +0100)]
gui: fix dark mode change on Windows 10 with universal style

The _Universal_ QML style has a theme that uses the colour scheme from
the system.  This can be set by either configuring
`qtquickcontrols2.conf` or setting the environment variable
`QT_QUICK_CONTROLS_UNIVERSAL_THEME=System`.

Unfortunately, due to [QTBUG-128825], setting the theme in the
configuration file/environment variable results in the dark/light mode
setting only be set during startup, not during runtime.  Not ideal, but
still better than not having a broken dark mode theme at all.

Fixes #7991

[QTBUG-128825]: https://bugreports.qt.io/browse/QTBUG-128825

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
11 months agoMerge pull request #8028 from nextcloud/backport/8027/stable-3.16
Matthieu Gallien [Fri, 14 Mar 2025 15:38:57 +0000 (16:38 +0100)]
Merge pull request #8028 from nextcloud/backport/8027/stable-3.16

[stable-3.16] gui/macOS: Avoid UB in edge cases where there is no matching accountstate for a domain

11 months agogui/macOS: Avoid UB in edge cases where there is no matching account state for a...
Claudio Cambra [Fri, 14 Mar 2025 13:10:18 +0000 (21:10 +0800)]
gui/macOS: Avoid UB in edge cases where there is no matching account state for a domain

Do not assume existence of an account for a given domain identifier --
users can modify the config in unexpected ways

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
11 months agoMerge pull request #8025 from nextcloud/backport/8016/stable-3.16
Matthieu Gallien [Fri, 14 Mar 2025 10:49:14 +0000 (11:49 +0100)]
Merge pull request #8025 from nextcloud/backport/8016/stable-3.16

[stable-3.16] remove gcc and clang build checks

11 months agoremove gcc and clang build checks
Matthieu Gallien [Thu, 13 Mar 2025 11:29:17 +0000 (12:29 +0100)]
remove gcc and clang build checks

they are redondant apart from the end-to-end tests

those end-to-end tests were never reliable and regularly fail removing
the usefulness of running them

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
11 months agoMerge pull request #7986 from nextcloud/backport/7930/stable-3.16
Matthieu Gallien [Fri, 14 Mar 2025 10:35:27 +0000 (11:35 +0100)]
Merge pull request #7986 from nextcloud/backport/7930/stable-3.16

[stable-3.16] make version.cmake more readable

11 months agomake version.cmake more readable
Rello [Wed, 26 Feb 2025 12:53:46 +0000 (13:53 +0100)]
make version.cmake more readable

* all changeable variables are now at the beginning

* double definitions cleaned

Signed-off-by: Rello <Rello@users.noreply.github.com>
11 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 14 Mar 2025 03:09:27 +0000 (03:09 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>